<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <{block name="seo"}>
    <meta name="keywords" content="<?php if(!empty($config['seo_description'])){ ?><{$config.seo_description}><?php } ?>" />
    <meta name="description" content="<?php if(!empty($config['seo_keywords'])){ ?><{$config.seo_keywords}><?php } ?>" />
    <title><?php if(!empty($config['web_name'])){ ?><{$config.web_name}><?php } ?></title>
    <{/block}>
    <link href="/static/module/article/blog/css/font-awesome.min.css"  rel="stylesheet">
    <link href="/static/module/article/blog/css/swiper.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/static/module/article/blog/css/style.css" />
    <script src="/static/module/article/blog/js/jquery-2.2.4.min.js" type="text/javascript"></script>
    <!--[if lt IE 9]>
    <script src="/static/module/article/blog/js/html5shiv.min.js"></script>
    <script src="/static/module/article/blog/js/respond.js"></script>
    <![endif]-->
    <style type="text/css">
        .pagination {padding-bottom:50px;}
        .pagination li{
            float: left;
            list-style: none;
            width: 32px;
            height: 32px;
            border: 1px solid silver;
            line-height: 32px;clear:none;padding:0;
            border-radius: 5px;
            margin: 0 5px;
        }
        .pagination li a{
            width: 32px;
            height: 32px;
            display: inline-block;
        }
        li.active {
            background-color: darkkhaki;
            color: white;
        }

        li.disabled {
            background-color: silver;
            color: white;
        }

    </style>
</head>
<body>

<{block name="body_header"}>
<div class="header">
    <div class="wrap">
        <div class="logo"> <a href="/" title="博客"><img src="/static/images/logo.png" alt=""></a> </div>
        <div id="monavber" class="nav" data-type="index" data-infoid="">
            <ul class="navbar">
                <li class="<?php if(empty($cate_id)) {  echo 'active'; } ?>"><a href="/">首页</a></li>
                <?php $cate = db('article_cate')->select(); ?>
                <?php foreach($cate as $key => $val ) { ?>
                    <li class="<?php if(!empty($cate_id)) { if($cate_id == $val['id']){ echo 'active'; } } ?>"   >
                        <a href="<?php echo url('index/article/lists',['id'=>$val['id']]); ?>" title="<{$val.title}>"><{$val.title}></a>
                    </li>
                <?php } ?>
              <!--  <li class="">
                    <a href="/index/article/index" title="创业资讯">封面</a>
                </li>
                <li class=""><a href="/index/article/lists" title="创业指导">列表</a></li>
                <li class=""><a href="/index/article/detail" title="创业指导">详情</a></li>
                 <li class="">
                     <a href="javascript:;" title="励志">父栏目</a>
                     <ul class="sub-menu">
                         <li><a href="javascript:;" title="励志语录">子栏目</a></li>
                         <li><a href="javascript:;" title="励志故事">子栏目</a></li>
                     </ul>
                 </li>-->
            </ul>
        </div>

        <div class="mnav"><i class="fa fa-bars"></i></div>
        <div class="msearch"><i class="fa fa-search"></i></div>
        <div class="muser"><a rel="nofollow" href="javascript" target="_blank"><i class="fa fa-user-o"></i></a></div>
        <div class="user">
            <!--<div class="avatar"> <img src="http://ecms154.99yuanma.net:8889/skin/ecms154/images/0.png" alt=""> </div>
            <div class="login"> <script src=""></script> </div>-->
        </div>
        <div class="search">
            <form  method="get" name="searchform" action="<?php echo url('index/article/search'); ?>" >
                <input class="search-input" name="keyword" type="text" placeholder="输入关键词">
                <button type="submit" class="submit" value="搜索"><i class="fa fa-search"></i></button>
            </form>
        </div>
    </div>
</div>
<{/block}>

<{block name="body_sub_header"}>

<{/block}>


<{block name="body_main"}>
<{/block}>

<{block name="body_friend_link"}>

<{/block}>

<{block name="body_footer"}>
<div class="footer">
    <div class="wrap">
        <div class="copyright">Supported by Franco.</div>
        <div class="power">粤ICP备17025373号 粤ICP备17025373号</div>
    </div>
</div>
<{/block}>



<div id="goTop" class="goTop"><i class="fa fa-angle-up"></i></div>
<script src="/static/module/article/blog/js/ResizeSensor.min.js" type="text/javascript"></script>
<script src="/static/module/article/blog/js/theia-sticky-sidebar.min.js" type="text/javascript"></script>
<script>jQuery(document).ready(function($) {jQuery('.aside').theiaStickySidebar({ additionalMarginTop: 72,});});</script>
<script type="text/javascript" src="/static/module/article/blog/js/infinitescroll.js"></script>
<script src="/static/module/article/blog/js/common.js" type="text/javascript"></script>
<script src="/static/module/article/blog/js/swiper.min.js" type="text/javascript"></script>
<script>var swiper = new Swiper('.swiper-container', {slidesPerView: 1,spaceBetween: 30,loop: true,pagination: {el: '.swiper-pagination',clickable: true,},navigation: {nextEl: '.swiper-button-next',prevEl: '.swiper-button-prev',},});</script>
<script src="/static/module/article/blog/js/prettify.js" type="text/javascript"></script>
</body>
</html>